@import "../../styles/index.less";

.addRecord {
  background-color: @bg-secondary;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
}

.scrollView{
  flex-grow: 1;
  box-sizing: border-box;
  overflow-y: scroll;
}

.formItem {
  margin-bottom: 20px;
  margin: 28px;
}

.form {
  border: 1px solid #dfdfdf;
  border-radius: 48px;
  margin: 24px;

  :global {
    .at-tabs__header {
      background-color: transparent;
    }
    .at-tabs__item {
      color: @text-tertiary;
      font-size: 36px;
    }
    .at-tabs__item--active {
      color: @text-primary;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); 
      font-weight: bold;
      background-color: #fff;
      border-radius: 48px 48px 0 0 ;
    }
    .at-tabs__item-underline {
      height: 0;
    }
    .at-tabs-pane {
      background-color: #fff;
      border-radius: 0 0 48px 48px;
    }
    .at-tabs__underline {
      display: none;
    }
    input {
      width: auto;
    }
  }
}

.typeSelector {
  display: flex;
  justify-content: space-between;
}

.type-option {
  flex: 1;
  padding: 10px;
  text-align: center;
  border: 1px solid @primary-color;
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;

  &.active {
    background-color: @primary-color;
    color: #fff;
  }
}

.label {
  font-size: 32px;
  color: @text-primary;
  margin-bottom: 5px;
}

.input, .textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid @border-color;
  border-radius: 5px;
}

.picker {
  padding: 10px;
  border: 1px solid @border-color;
  border-radius: 5px;
  text-align: center;
}

.upload-button {
  padding: 10px;
  border: 1px dashed @primary-color;
  border-radius: 5px;
  text-align: center;
  color: @primary-color;
  cursor: pointer;
}

.preview-image {
  width: 100%;
  height: 200px;
  border-radius: 5px;
}

.submitButton {
  background-color: @primary-color;
  color: #fff;
  padding: 15px;
  text-align: center;
  border-radius: 48px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 60px;
  line-height: 60px;
  margin-bottom: 40px;
  // margin-top: 24px;
  position: absolute;
  bottom: 24px;
  left: calc(50% - 120px);
  width: 240px;
}

.moodCard {
  // width: 100%;
  background-color: @primary-bright;
  border-radius: 48px;
  padding: 20px;
  margin: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  // 
  border: 1px solid fade(@primary-dark, 50%);
  
}

.emojiContainer {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  align-items: center;
  height: 120px;
}

.emoji {
  font-size: 56px;
  cursor: pointer;
  transition: transform 0.2s, border 0.2s;
  display: inline-block;
  padding-bottom: 4px;
}

.emoji.selected {
  transform: scale(1.5);
  border: 4px solid #fff;
  box-sizing: border-box;
  border-radius: 50%;
  transform-origin: center;
}

.label {
  font-size: 32px;
  color: @text-primary;
  margin-bottom: 12px;
  display: block;
  font-weight: bold;

}
.moodLabel {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); 
  margin-bottom: 12px;
}
